import requests
def login():
    resp = requests.post(url="http://ihrm2-test.itheima.net/api/sys/login",
                             json={"mobile": "13800000002", "password": "123456"})
    req_hearder ={"Authorization":resp.json().get("data")}
    return req_hearder

print(login())